import coffeeshop.Beverage;
import coffeeshop.beverages.coffee.Espresso;
import coffeeshop.condiments.Sugar;
import coffeeshop.condiments.WhippedCream;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Beverage napoj = new Espresso();
		napoj = new Sugar(napoj);
		napoj = new WhippedCream(napoj);
		System.out.println( napoj.getPrice() + " " + napoj.getDescription() );
		
	}

}